﻿#region Using

using System.Runtime.Serialization;

using Common.Base;

using CommunicationLibrary.TransportData.Enums;

#endregion

namespace CommunicationLibrary.TransportData.CommandArgs
{
    [DataContract(Name = "A")]
    public class BuildCommandArgs
    {
        public BuildCommandArgs(Position pos, BuildingTypeEnum type)
        {
            this.Position = pos;
            this.BuildingType = type;
        }

        [DataMember(Name = "A")]
        public Position Position { get; private set; }

        [DataMember(Name = "B")]
        public BuildingTypeEnum BuildingType { get; private set; }
    }
}